<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
            <link rel="stylesheet" href="${request.contextPath}/statics/plugins/kindeditor-4.1.7/themes/default/default.css"/>
            <script charset="utf-8" src="${request.contextPath}/statics/plugins/kindeditor-4.1.7/kindeditor-min.js"></script>
            <script charset="utf-8" src="${request.contextPath}/statics/plugins/kindeditor-4.1.7/lang/zh_CN.js"></script>
            <script src="${request.contextPath}/statics/libs/ajaxupload.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>

    <div class="panel panel-default">
        <div class="panel-heading">首页管理</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">首页轮播图</div>
                <div class="col-sm-10">
                    <div v-for="item in imgarr"  style="position: relative;display: inline-block;width:100px;height: 100px;overflow: hidden;">
                        <img id="bingimg" style="width:100px;height:100px;"  v-bind:src="item"/>
                        <img class="delete" @click="deleteimg(item)" src="${request.contextPath}/statics/images/delete.png" style="position: absolute;top: 5px;right: 5px;width: 20px;">
                    </div>
                    <a class="btn btn-primary" id="upload" style="display: block;width: 120px;height: 35px;"><i class="fa fa-plus"></i>&nbsp;上传图片</a>
                   <!-- <input type="text" class="form-control" v-model="btCustomerFirstpage.imgLink" placeholder="首页轮播图，及连接地址格式，img1：link1；img2:link2"/>-->
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">简介标题一名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="btCustomerFirstpage.aboutCatag1" placeholder=" 标题一名称"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">简介标题一描述</div>
                <div class="col-sm-10">
                    <!--<input type="text" class="form-control" v-model="btCustomerFirstpage.aboutCatagDetail1" placeholder="标题一描述"/>-->
                    <textarea placeholder="简介标题一描述" v-model="btCustomerFirstpage.aboutCatagDetail1" style="margin: 0px; width: 369px; height: 116px;"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">简介标题二名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="btCustomerFirstpage.aboutCatag2" placeholder="简介标题二名称"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">简介标题二描述</div>
                <div class="col-sm-10">
                   <!-- <input type="text" class="form-control" v-model="btCustomerFirstpage.aboutCatagDetail2" placeholder="简介标题二描述"/>-->
                    <textarea placeholder="简介标题二描述" v-model="btCustomerFirstpage.aboutCatagDetail2" style="margin: 0px; width: 369px; height: 116px;"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">简介标题三名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="btCustomerFirstpage.aboutCatag3" placeholder="简介标题三名称"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">简介标题三描述</div>
                <div class="col-sm-10">
                    <!--<input type="text" class="form-control" v-model="btCustomerFirstpage.aboutCatagDetail3" placeholder="简介标题三描述"/>-->
                    <textarea placeholder="简介标题三描述" v-model="btCustomerFirstpage.aboutCatagDetail3" style="margin: 0px; width: 369px; height: 116px;"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">优惠公告</div>
                <div class="col-sm-10">
                    <!--<input type="text" class="form-control" v-model="btCustomerFirstpage.yhGongao" placeholder="优惠公告"/>-->
                   <!-- <textarea placeholder="优惠公告" v-model="btCustomerFirstpage.yhGongao" style="margin: 0px; width: 369px; height: 116px;"></textarea>-->
                    <textarea id="activity_detail" name="contentDetail" v-model="btCustomerFirstpage.yhGongao"
                              type="text/plain" style="width:1024px;height:500px;"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
               <!-- &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>-->
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/btcustomerfirstpage.js?_${.now?long}"></script>
</body>
</html>